#ifndef __PUBILC_H_
#define __PUBILC_H_

/* Public define-------------------------------------------------------------*/
#define SoftWare_Version (float)1.0
#define huart_debug huart1

//定义枚举类型  ->  BIT位
typedef enum
{
  BIT0 = 0x01<<0,
  BIT1 = 0x01<<1,
  BIT2 = 0x01<<2,
  BIT3 = 0x01<<3,
  BIT4 = 0x01<<4,
  BIT5 = 0x01<<5,
  BIT6 = 0x01<<6,
  BIT7 = 0x01<<7,
}BIT_t;


//定义枚举类型  ->  TRUE/FALSE位
typedef enum
{
    FALSE = 0U,
    TRUE = !FALSE
}FlagStatus_t;

//定义枚举类型  ->  FAILED(测试失败)/PASSED(测试通过)
typedef enum
{
    FAILED = 0U,
    PASSED = !FAILED
}TestStatus_t;

//定义结构体类型
typedef struct
{
  void (*Memory_Clr)(uint8_t* ,uint16_t );
}Public_t;

/* extern variables-----------------------------------------------------------*/
extern Public_t Public;
/*******预编译宏定义*******/
//#define Monitor_Run_Code    //代码运行监视器
//#define Hardware_TEST       //硬件测试

/* extern function prototypes-------------------------------------------------*/ 

#endif
/********************************************************
  End Of File
********************************************************/
